package com.be.beadmin.design.dto.output;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class DrawingReviewExcelEx {
    @ExcelProperty("项目名称")
    private String projectName;
    @ExcelProperty("图纸类别")
    private String category;
    @ExcelProperty("图纸名称")
    private String drawingName;
    @ExcelProperty("变更状态：待审核=0，通过=2，驳回=3")
    private int changeStatus;
    @ExcelProperty("产品/柜体编号")
    private String productCode;
    @ExcelProperty("版本")
    private String version;
    @ExcelProperty("审核备注")
    private String memo;
    @ExcelProperty("图纸编号")
    private String drawingCode;
    @ExcelProperty("创建日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date createTime;
    @ExcelProperty("创建人")
    private String username;


//    @ExcelProperty("柜体图纸序号")
//    private String drawingSequence;
//    @ExcelProperty("柜体图纸描述")
//    private String drawingSpec;
//    @ExcelProperty("柜体图纸链接")
//    private String drawingUrl;
//    @ExcelProperty("图纸ID")
//    private String drawingId;
}
